package com.wd.mainmodel.model;

/**
 * @author hufeiyang
 * @data 2021/1/24
 * @Description:
 */
public interface Callback<T> {

    /**
     * 成功
     *
     * @param t
     */
    public void onSuccess(T t);

    /**
     * 失败
     * @param msg
     */
    public void onFailed(String msg);
}
